<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>你猜的数比系统生成的小</title>
</head>
<style>
	p{
		color: purple;
	}
</style>
<body>
	<?php session_start();?>
	<p>你猜的数(<?php echo $_SESSION['prenum'] ?>)比系统生成的小，请再猜一次</p>
	<p>请在下面的文本框当中输入1-100之间的任意数</p>

<form action="control.php" method="post">
	<input type="hidden" name="snum" value="<?php if (isset($_SESSION['snum'])) {echo $_SESSION['snum'];}?>">
	<input type="text" name="num">
	<input type="submit" value="试一下手气">
</form>
</body>
</html>